package com.cily.utils.t_webrtc.news;

import org.webrtc.PeerConnection;

import java.util.LinkedList;
import java.util.List;

/**
 * user:cily
 * time:2017/5/7
 * desc:
 */

public class RtcUtils {

    public static List<PeerConnection.IceServer> getIceServers() {
        PeerConnection.IceServer turn = new PeerConnection.IceServer(
                "turn:119.23.251.238:3478", "helloword", "helloword");
        LinkedList<PeerConnection.IceServer> iceServers = new LinkedList<PeerConnection.IceServer>();
        iceServers.add(turn);
        return iceServers;
    }
}
